<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../../include/taglib.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<%@include file="../../include/inhead.jsp"%>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="keywords" content="E爱车 洗车 到店洗车" />
<meta name="description" content="E爱车" />
<link rel="shortcut icon" href="${ctx}/static/imges/favicon.ico" />
<title>门店详情</title>
<link rel="stylesheet" type="text/css"
	href="${ctx}/static/css/autoinn/bootstrap/bootstrap.min.css" />
<link rel="stylesheet" type="text/css"
	href="${ctx}/static/css/autoinn/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css"
	href="${ctx}/static/css/autoinn/slideNav.css" />
<link rel="stylesheet" type="text/css"
	href="${ctx}/static/css/autoinn/washCar.css" />
<style type="text/css">
body {
	background-color: #f0efed;
}

.container {
	padding-left: 0px;
	padding-right: 0px;
}

.row {
	margin-left: 0px;
	margin-right: 0px;
}

.list-group-item:first-child {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}

.list-group-item:last-child {
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
}

.active a {
	color: #EF8A55;
}

a:hover {
	color: #919191;
	text-decoration: none;
}
</style>
<script type="text/javascript"
	src="${ctx}/static/js/autoinn/jquery/jquery-1.7.min.js"></script>
<script type="text/javascript"
	src="${ctx}/static/js/autoinn/bootstrap/bootstrap.min.js"></script>
<script type="text/javascript"
	src="${ctx}/static/js/autoinn/jquery/jquery.raty.js"></script>
</head>
<body>
	<div class="container">

		<div
			class="orange-orange-a row pf text-center f14 border-1 bdc-e6e6e6 bgc-f8f8f8 pt-5 pb-5 z99 w h45 line-height-35 pr"
			style="left: 0; top: 0;">
			<div class="col-xs-4 line-height-35 text-left pl-15 pr-0 pt-0">
				<a class="go-back f15 pa z99 pointer co8" style="left: 15px;"> <i
					class="fa f20 fa-angle-left pr-3"></i>返回
				</a>
			</div>
			<div class="col-xs-4 pr-0 pl-0 text-center">兑换优惠券</div>
			<div class="col-xs-4 line-height-35 text-right"></div>
		</div>
		<div class="pb-50 pt-50 row pl-15 pr-15">


			<div class=" mb-15 col-xs-12 row bg-price bdr-4">
				<div class="col-xs-12 pl-0 pr-0 pt-10 other-price-item">
					<div class="input-group">
						<span class="input-group-addon"> <label>邀请人:</label>
						</span> <input type="text" maxlength="11" id="phone"
							class="form-control input-lg other-price"
							placeholder="请输入邀请人手机号码">
					</div>
				</div>

			</div>

 <div style="margin:20px 10px;text-align:center;display:none;" id="quanaa">
 <img width="260" height="100" src="${ctx}/static/images/5.jpg">
  <div style="font-size:10px;margin-top:-16px;margin-left:-100px;color:white;">
  无
  </div>
  </div>
   
			<div class="col-xs-12 pl-0 pr-0 pt-5 pb-20">
			
				<input type="hidden" value="" name="total_fee" id="total_fee_id" />
				<button class="btn btn-orange btn-block btn-lg" type="button"
					onclick="d()">确认</button>
			</div>
		</div>




	</div>
	<script type="text/javascript" src="js/jquery/jquery.placeholder.js"></script>
	<script type="text/javascript" src="js/washCar.js"></script>

	<script type="text/javascript">
            var PARENT_URL='wash_car.html'
                ERROR_MSG = '',
                SUCCESS_MSG = '',
                INFO_MSG = '',
                WARNING_MSG = '';
        </script>
	<script type="text/javascript">
		function d(){
			var phone = $("#phone").val();
			if(phone!=""){
				 $.post("${ctx}/weixin/f/autoinn/tui/ling",
				     		{
				                      "phone" : phone
				     		},function(data){
				     			if(data.success==true){
				     			alert(data.message);
				     			$("#quanaa").show();
				     			window.location.href='${ctx}/weixin/f/autoinn/tui/dui';
				     			}else{
				     				alert(data.message);
				     			}
				     			//window.location.href='${ctx}/weixin/f/autoinn/xc/collect';
				     		},"json");
			}
		}
		</script>
</body>
</html>
